Webhook: INCIDENT_EDITED
Sent when general Incident details change. This includes changes to the name, description, Type, Category, Location, Point, assignee, occurrence time, tags, external ID, or coordinates.
Priority and workflow state changes have separate event types. If the same update changes both general details and priority, TARGPatrol sends both INCIDENT_EDITED and INCIDENT_PRIORITY_CHANGED.
{
"entityId": "4adbc000-3095-42f3-bddd-d8a1da1ab2bd",
"type": "INCIDENT_EDITED",
"createdAt": "2026-08-13T10:15:00.000Z",
"data": {
"operation": "UPDATE",
"current": {
"id": "4adbc000-3095-42f3-bddd-d8a1da1ab2bd",
"organizationId": "9864d894-699a-4a00-8d4c-ae181215d721",
"name": "Broken lobby window - north entrance",
"description": "Window next to the main entrance is cracked.",
"typeId": "b419c511-a4ac-4904-b836-632b3fd6d9a4",
"categoryId": "ca284c13-10bc-4318-9ca2-e77705512425",
"stateId": "1e86aa2d-717a-46db-a73b-c760fb44869d",
"priority": "MAJOR",
"locationId": "20553a15-51df-4266-88c2-1067c2d1f0e8",
"pointId": null,
"assigneeId": "a60b0a09-344f-4232-80dc-9a039cdd5934",
"occurredAt": "2026-08-13T09:30:00.000Z",
"mediaIds": [],
"tags": ["safety", "broken-window", "north-entrance"],
"clientRequestId": "91000000-0000-0000-0000-000000000001",
"latitude": 53.9024,
"longitude": 27.5621,
"externalId": "FACILITY-2041",
"createdBy": "b4b48940-d927-4d93-8a69-9e1a32ee96ca",
"createdAt": "2026-08-13T09:35:00.000Z",
"lastModifiedBy": "b4b48940-d927-4d93-8a69-9e1a32ee96ca",
"lastModifiedAt": "2026-08-13T10:15:00.000Z"
},
"previous": {
"id": "4adbc000-3095-42f3-bddd-d8a1da1ab2bd",
"organizationId": "9864d894-699a-4a00-8d4c-ae181215d721",
"name": "Broken lobby window",
"description": "Window next to the main entrance is cracked.",
"typeId": "b419c511-a4ac-4904-b836-632b3fd6d9a4",
"categoryId": "ca284c13-10bc-4318-9ca2-e77705512425",
"stateId": "1e86aa2d-717a-46db-a73b-c760fb44869d",
"priority": "MAJOR",
"locationId": "20553a15-51df-4266-88c2-1067c2d1f0e8",
"pointId": null,
"assigneeId": "a60b0a09-344f-4232-80dc-9a039cdd5934",
"occurredAt": "2026-08-13T09:30:00.000Z",
"mediaIds": [],
"tags": ["safety", "broken-window"],
"clientRequestId": "91000000-0000-0000-0000-000000000001",
"latitude": 53.9023,
"longitude": 27.5619,
"externalId": "FACILITY-2041",
"createdBy": "b4b48940-d927-4d93-8a69-9e1a32ee96ca",
"createdAt": "2026-08-13T09:35:00.000Z",
"lastModifiedBy": "b4b48940-d927-4d93-8a69-9e1a32ee96ca",
"lastModifiedAt": "2026-08-13T09:35:00.000Z"
}
}
}
Compare data.current with data.previous to determine which fields changed.
Use data.current.lastModifiedBy for the user recorded for the edit; no top-level userId is
delivered.